package net.csdn.business.common.domain.vo.notify;


import com.alibaba.fastjson2.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.csdn.business.common.constant.CommonConstants;


import java.util.Date;


/**
 * 通知中心-模板配置对象VO notify_template_seting
 * 
 * @author ruoyi
 * @date 2023-11-27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NotifyTemplateSetingVO
{

    /** 模板id */
    private String id;
    /** template */
    private JSONObject template;
    /** 业务编码 */
    private String businessCode;
    /** 10：站内信；20：邮件；30：短信； */
    private Integer notifyChannel;
    /** 模板状态：1:打开（默认）；0关闭 */
    private Boolean state;

    /** 模板备注 */
    private String remark;

    @JsonFormat(pattern = CommonConstants.DEFAULT_PATTERN, timezone = CommonConstants.DEFAULT_TIMEZONE)
    private Date createdDate;

    @JsonFormat(pattern = CommonConstants.DEFAULT_PATTERN, timezone = CommonConstants.DEFAULT_TIMEZONE)
    private Date lastModifiedDate;

    private String createdBy;
    private String createdByUserName;
    private String createdByUserPhoto;

    private String lastModifiedBy;
}
